$OpenBSD: patch-src_odbc_Makefile_am,v 1.1 2015/03/20 16:07:08 czarkoff Exp $
--- src/odbc/Makefile.am.orig	Mon Feb 16 10:34:35 2015
+++ src/odbc/Makefile.am	Mon Feb 16 10:35:27 2015
@@ -3,7 +3,7 @@ lib_LTLIBRARIES	=	libmdbodbc.la
 AM_CFLAGS	=	-I$(top_srcdir)/include $(GLIB_CFLAGS) $(ODBC_CFLAGS)
 libmdbodbc_la_SOURCES	= odbc.c connectparams.c mdbodbc.h connectparams.h
 libmdbodbc_la_LIBADD	= ../libmdb/libmdb.la ../sql/libmdbsql.la
-libmdbodbc_la_LDFLAGS	= -avoid-version -export-symbols-regex '^(SQL|ODBCINST)'
+libmdbodbc_la_LDFLAGS	= -export-symbols-regex '^(SQL|ODBCINST)'
 if ICONV
 lib_LTLIBRARIES += libmdbodbcW.la
 libmdbodbcW_la_SOURCES	= $(libmdbodbc_la_SOURCES)
